package drone.basis.dictionary ;

import drone.basis.GlobalConfig ;

public enum IntervalDict
{

	TNO ( "间隔空不执行" , GlobalConfig.ZERO.longValue ( ) ) ,
	T1S ( "间隔一秒" , GlobalConfig.SECOND ) ,
	T5S ( "间隔五秒" , GlobalConfig.SECOND * 5 ) ,
	T10S ( "间隔十秒" , GlobalConfig.SECOND * 10 ) ,
	T30S ( "间隔三十秒" , GlobalConfig.SECOND * 30 ) ,
	T1M ( "间隔一分钟" , GlobalConfig.MINUTE ) ,
	T5M ( "间隔五分钟" , GlobalConfig.MINUTE * 5 ) ,
	T10M ( "间隔十分钟" , GlobalConfig.MINUTE * 10 ) ,
	T30M ( "间隔三十分钟" , GlobalConfig.MINUTE * 30 ) ,
	T1H ( "间隔一小时" , GlobalConfig.HOUR ) ,
//	T8H ( "间隔八小时" , GlobalConfig.HOUR * 8 ) ,
//	T12H ( "间隔十二小时" , GlobalConfig.HOUR * 12 ) ,
//	T1D ( "间隔一天" , GlobalConfig.DAY ),
	;

	private String name ;

	private Long time ;

	private IntervalDict (
			String name ,
			Long time
	)
	{
		this.name = name ;
		this.time = time ;
	}

	public String getName ( )
	{
		return name ;
	}

	public void setName (
			String name
	)
	{
		this.name = name ;
	}

	public Long getTime ( )
	{
		return time ;
	}

	public void setTime (
			Long time
	)
	{
		this.time = time ;
	}

}
